package com.alliky.core.base;

import android.view.View;

import androidx.databinding.DataBindingUtil;
import androidx.databinding.ViewDataBinding;

import com.chad.library.adapter.base.viewholder.BaseViewHolder;

import org.jetbrains.annotations.NotNull;

/**
 * @Author: wxianing
 * @CreateDate: 2022/8/16 22:32
 * @Description: java类作用描述
 */
public class BaseBindingViewHolder extends BaseViewHolder {

    private ViewDataBinding mBinding = null;

    public BaseBindingViewHolder(@NotNull View view) {
        super(view);
        mBinding = DataBindingUtil.bind(view);
    }

    public ViewDataBinding getDataBinding() {
        return mBinding;
    }
}
